package com.yenlien.traceyun.produce.dao;

import com.yenlien.traceyun.produce.entity.ProcessTechnologys;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ProcessTechnologysDao extends BaseJpaDao<ProcessTechnologys> {

    List<ProcessTechnologys> findByProcessNameLike(String processName);

    ProcessTechnologys findById(String id);

    Page<ProcessTechnologys> findByCompanyId(String companyId, Pageable pageable);
}
